using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN ThongTinTraoDoiKhachHangEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: ThongTinTraoDoiKhachHangEntity</para>
	/// <para>Description: ClassThongTinTraoDoiKhachHangEntity store data of table ThongTinTraoDoiKhachHang</para>
	///</summary>

	[DataContract]
	public partial class ThongTinTraoDoiKhachHangEntity{


		private bool _InternalChangedIsNullThongTinTraoDoiKhachHang_ID=true;
		private bool _IsNullThongTinTraoDoiKhachHang_ID=true;
		private bool _InternalChangedIsNullKhachHang_ID=true;
		private bool _IsNullKhachHang_ID=true;
		private bool _InternalChangedIsNullNgayCN=true;
		private bool _IsNullNgayCN=true;
		private bool _InternalChangedIsNullNoiDung=true;
		private bool _IsNullNoiDung=true;
		private int _ThongTinTraoDoiKhachHang_ID;
		private int _KhachHang_ID;
		private DateTime _NgayCN;
		private string _NoiDung;
		[DataMember]
		public bool IsNullThongTinTraoDoiKhachHang_ID{
			get{return _IsNullThongTinTraoDoiKhachHang_ID;}
			set{if(!_InternalChangedIsNullThongTinTraoDoiKhachHang_ID)_IsNullThongTinTraoDoiKhachHang_ID=value;}
		}
		[DataMember]
		public bool IsNullKhachHang_ID{
			get{return _IsNullKhachHang_ID;}
			set{if(!_InternalChangedIsNullKhachHang_ID)_IsNullKhachHang_ID=value;}
		}
		[DataMember]
		public bool IsNullNgayCN{
			get{return _IsNullNgayCN;}
			set{if(!_InternalChangedIsNullNgayCN)_IsNullNgayCN=value;}
		}
		[DataMember]
		public bool IsNullNoiDung{
			get{return _IsNullNoiDung;}
			set{if(!_InternalChangedIsNullNoiDung)_IsNullNoiDung=value;}
		}
		[DataMember]
		public int ThongTinTraoDoiKhachHang_ID{
			get{return _ThongTinTraoDoiKhachHang_ID;}
			set{
				_ThongTinTraoDoiKhachHang_ID=value;
				if(_ThongTinTraoDoiKhachHang_ID!=null){
					_IsNullThongTinTraoDoiKhachHang_ID=false;
					_InternalChangedIsNullThongTinTraoDoiKhachHang_ID=true;
				}
			}
		}
		[DataMember]
		public int KhachHang_ID{
			get{return _KhachHang_ID;}
			set{
				_KhachHang_ID=value;
				if(_KhachHang_ID!=null){
					_IsNullKhachHang_ID=false;
					_InternalChangedIsNullKhachHang_ID=true;
				}
			}
		}
		[DataMember]
		public DateTime NgayCN{
			get{return _NgayCN;}
			set{
				_NgayCN=value;
				if(_NgayCN!=null){
					_IsNullNgayCN=false;
					_InternalChangedIsNullNgayCN=true;
				}
			}
		}
		[DataMember]
		public string NoiDung{
			get{return _NoiDung;}
			set{
				_NoiDung=value;
				if(_NoiDung!=null){
					_IsNullNoiDung=false;
					_InternalChangedIsNullNoiDung=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END ThongTinTraoDoiKhachHangEntityBase*****************************************/
	/*****************************************************************************************************/
}

